package com.ittx.dzt.tiktok.constant;

public class TiktokApiConstant {
    /**
     * 获取商品详情
     */
    public static final String PRODUCT_GET_BY_ID = "/product/202309/products/";
    /**
     * 获取全球商品详情
     */
    public static final String GLOBAL_PRODUCT_GET_BY_ID = "/product/202309/global_products/";
    /**
     * 商品查询
     */
    public static final String PRODUCT_LIST_BY_TIME = "/product/202312/products/search";
    /**
     * 全球商品查询
     */
    public static final String GLOBAL_PRODUCT_LIST_BY_TIME = "/product/202312/global_products/search";
    /**
     * 商品上架
     */
    public static final String PRODUCT_SETONLINE = "/product/202309/products/activate";
    /**
     * 商品下架
     */
    public static final String PRODUCT_SETOFFLINE = "/product/202309/products/deactivate";
    /**
     * 修改sku库存
     */
    public static final String GLOBAL_SKU_SYNCSTOCK = "/product/202309/global_products/{global_product_id}/inventory/update";
    public static final String SKU_SYNCSTOCK = "/product/202309/products/{product_id}/inventory/update";
    /**
     * 下载订单详情
     */
    public static final String DOWNLOAD_ORDER_DETAIL = "/order/202309/orders";
    /**
     * 批量下载订单列表
     */
    public static final String DOWNLOAD_ORDER_SEARCHLIST = "/order/202309/orders/search";
    /**
     * 订单发货，非美国地区
     */
    public static final String ORDER_FULFILLMENT_PACKAGES_SHIP = "/fulfillment/202309/packages/ship";
    /**
     * 发货，美国和欧洲，卖家发货
     */
    public static final String MARK_ORDER_PACKAGES_SHIPED = "/fulfillment/202309/orders/{order_id}/packages";
    /**
     * 获取快递公司列表
     */
    public static final String SHIPPING_PROVIDERS_LIST = "/logistics/202309/delivery_options/{delivery_option_id}/shipping_providers";
    /**
     * 合单确认
     */
    public static final String ORDER_MERGE = "/fulfillment/202309/packages/combine";
    /**
     * 下载取消单详情
     */
    public static final String DOWNLOAD_CANCELED_DETAIL = "/return_refund/202309/cancellations/search";
    /**
     * 下载退货单详情
     */
    public static final String DOWNLOAD_RETURN_DETAIL = "/return_refund/202309/returns/search";
    /**
     * 下载售后单列表
     */
    public static final String DOWNLOAD_CANCELED_LIST = "/return_refund/202309/cancellations/search";
    /**
     * 下载退货单列表
     */
    public static final String DOWNLOAD_RETURN_LIST = "/return_refund/202309/returns/search";
    /**
     * 获取卖家已授权店铺信息
     */
    public static final String STORE_INFO_GET = "/authorization/202309/shops";
    /**
     * 查询可用承运商
     */
    public static final String ORDER_SHIPPING_SERVICE_GET = "/fulfillment/202309/orders/{order_id}/shipping_services/query";
    /**
     * 创建包裹
     */
    public static final String ORDER_PACKAGE_CREATE = "/fulfillment/202309/packages";
    /**
     * 获取包裹面单
     */
    public static final String ORDER_PACKAGE_SHIPPING_DOCUMENT_GET = "/fulfillment/202309/packages/{package_id}/shipping_documents";
    /**
     * 查询快递取货时间
     */
    public static final String ORDER_PACKAGE_HANDOVER_TIME_SLOTS_GET = "/fulfillment/202309/packages/{package_id}/handover_time_slots";
    /**
     * 拆单校验
     */
    public static final String ORDER_SPLIT_CHECK = "/fulfillment/202309/orders/split_attributes";
    /**
     * 拆单校验
     */
    public static final String ORDER_SPLIT_CONFIRM = "/fulfillment/202309/orders/{order_id}/split";
    /**
     * 合单查询
     */
    public static final String ORDER_COMBINABLE_PACKAGES_LIST = "/fulfillment/202309/combinable_packages/search";
    /**
     * 取消合单
     */
    public static final String ORDER_UNCOMBINE_PACKAGES = "/fulfillment/202309/packages/{package_id}/uncombine";
    /**
     * 是否允许使用全球商品
     */
    public static final String SELLER_PERMISSIONS_GET = "/seller/202309/permissions";

    public static class Rocket {
        /**
         * 消费者分组名称统一前缀
         */
        public static final String CONSUMER_GROUP_PREFIX = "GID_TTX_EDI_";
        /**
         * 消费者TOPIC名称统一前缀
         */
        public static final String CONSUMER_TOPIC_PREFIX = "TOPIC_TTX_EDI_";

        /**
         * tiktok商品 批量下载 转单个处理 Topic
         */
        public static final String TIKTOK_PRODUCT_LIST_BY_TIME_BATCH_SPLIT_TOPIC = CONSUMER_TOPIC_PREFIX + "TIKTOK_PRODUCT_LIST_BY_TIME_BATCH_SPLIT";
        /**
         * 商品 批量下载 转单个处理 Group
         */
        public static final String TIKTOK_PRODUCT_LIST_BY_TIME_BATCH_SPLIT_GROUP = CONSUMER_GROUP_PREFIX + "TIKTOK_PRODUCT_LIST_BY_TIME_BATCH_SPLIT";

        /**
         * 销售单 批量下载 转单个处理 Topic
         */
        public static final String TIKTOK_DOWNLOAD_ORDER_SEARCHLIST_BY_TIME_BATCH_SPLIT_TOPIC = CONSUMER_TOPIC_PREFIX + "TIKTOK_DOWNLOAD_ORDER_SEARCHLIST_BY_TIME_BATCH_SPLIT";

        /**
         * 销售单 批量下载 转单个处理 Group
         */
        public static final String TIKTOK_DOWNLOAD_ORDER_SEARCHLIST_BY_TIME_BATCH_SPLIT_GROUP = CONSUMER_GROUP_PREFIX + "TIKTOK_DOWNLOAD_ORDER_SEARCHLIST_BY_TIME_BATCH_SPLIT";
        /**
         * 取消单 批量下载 转单个处理 Topic
         */
        public static final String TIKTOK_DOWNLOAD_CANCELED_LIST_BY_TIME_BATCH_SPLIT_TOPIC = CONSUMER_TOPIC_PREFIX + "TIKTOK_DOWNLOAD_CANCELED_LIST_BY_TIME_BATCH_SPLIT";
        /**
         * 取消单 批量下载 转单个处理 Group
         */
        public static final String TIKTOK_DOWNLOAD_CANCELED_LIST_BY_TIME_BATCH_SPLIT_GROUP = CONSUMER_GROUP_PREFIX + "TIKTOK_DOWNLOAD_CANCELED_LIST_BY_TIME_BATCH_SPLIT";
        /**
         * 取消单 批量下载 转单个处理 Topic
         */
        public static final String TIKTOK_DOWNLOAD_RETURN_LIST_BY_TIME_BATCH_SPLIT_TOPIC = CONSUMER_TOPIC_PREFIX + "TIKTOK_DOWNLOAD_RETURN_LIST_BY_TIME_BATCH_SPLIT";
        /**
         * 取消单 批量下载 转单个处理 Group
         */
        public static final String TIKTOK_DOWNLOAD_RETURN_LIST_BY_TIME_BATCH_SPLIT_GROUP = CONSUMER_GROUP_PREFIX + "TIKTOK_DOWNLOAD_RETURN_LIST_BY_TIME_BATCH_SPLIT";

    }

    public class ApiHttpMethod {
        public static final String GET = "GET";
        public static final String POST = "POST";

    }
}
